Component({ 
  properties: { 
    listData:{ type:Array|Object, value:{} }, 
    step:{ type:Number, value:1 }
  },
  data: { 
    isShowChildren:false
  }, 
  methods: { 
    toggleShowChildren(){ 
      this.setData({ isShowChildren:!this.data.isShowChildren }) 
    },
    tapItem: function(e) {      
      var itemid = e.currentTarget.dataset.id;
      this.triggerEvent('tapItem', { itemid: itemid }, { bubbles: true, composed: true });
    }
  }
})
